package com.softWang.system.controller.vo.systemMenu;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class SystemMenuDetailResult{

    @ApiModelProperty(value = "主键id")
    private Long id;


    @ApiModelProperty(value = "名称，长度为60")
    private String mname;

    @ApiModelProperty(value = "父id")
    private Long pid;

    @ApiModelProperty(value = "树id路径，最大长度为100位")
    private String treecode;

    @ApiModelProperty(value = "类型{分类:1,菜单:2,按钮:3}")
    private Integer type;

    @ApiModelProperty(value = "页面路由或按钮标识，长度为60")
    private String mkey;

    @ApiModelProperty(value = "后台权限标识如system:user:query，长度为60")
    private String permission;

    @ApiModelProperty(value = "菜单图标，长度为60")
    private String icon;

    @ApiModelProperty(value = "状态,0:正常,1:停用")
    private Integer state;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime ctime;

    @ApiModelProperty(value = "最后更新时间")
    private LocalDateTime utime;

    @ApiModelProperty(value = "创建用户id")
    private Long cuser;

    @ApiModelProperty(value = "更新用户id")
    private Long euser;

}